#include<my_header.h>


typedef struct node_s
{
    char *_key;
    char *_value;
    struct node_s *pNext;
}node_t;

typedef struct hashmap_s
{
	node_t **_table;
    int _capacity;
    int _size;
} HashMap;

HashMap * createHashMap();
void freeHashMap(HashMap *table);
void insert(HashMap **table, char *key, char *value);
int hash(char *key, int capacity);
void resize(HashMap **table);
char *getKey(HashMap *map, char *key);
char *toString(HashMap *map);

//读取config，并存在map中
char *getParameter(char *key);
HashMap *parameterMap();
